<?php
/*
iSuS - iScripting.net User System
v1.0 made by Panzer
http://www.iScripting.net
Copyright must stay intact
*/



echo "Welcome to $sitename $uName <br /><br />";
if($uId) {
echo "<b>Site Links</b><br /><br />";

if($userCan['viewtut'])
echo "<a href='$siteurl/index.php?action=category'>View Tutorials</a><br />";
echo "<a href='$siteurl/index.php?action=forum'>Forums</a><br />";

if($userCan['viewprofile']) 
echo "<a href='$siteurl/index.php?action=memberlist'>View Memberlist</a><br /><br /><br />";



echo "<b>User Links</b><br />";

echo "<a href='$siteurl/index.php?action=logout'>Logout</a><br />";
if ($userCan['addtut'])
echo "<a href='$siteurl/index.php?action=addtutorial'>Add Tutorial</b><br />";

if($userCan['editprofile'])
echo "<a href='$siteurl/index.php?action=editprofile'>Edit Profile</a><br />";
} else {

echo "	<a href='$siteurl/index.php?action=login'>Login</a><br />
		<a href='$siteurl/index.php?action=register'>Register</a><br /> ";
		}

?>

